<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>WebSocket入门</title>
  <link rel="stylesheet" href="css/index.css">
</head>

<body>
  <input type="text" id="txtEcho" placeholder="echo">
  <button id="btnSend">发送消息</button>
  <button id="btnConnect">连接服务器</button>
  
  <div id="divInfo"></div>

  <script src="js/index.js"></script>
</body>

</html>